package com.h2cloud.annotation;

/**
 * @Package: com.h2cloud.annotation
 * @ClassName: Demo
 * @Author: h2cloud
 * @CreateTime: 2022/6/14 2:57 下午
 * @Description:
 */
@MyAnnotation(getValue = "annotation on class")
public class Demo {

	@MyAnnotation(getValue = "annotation on field")
	public String name;

	@MyAnnotation(getValue = "annotation on method")
	public void hello() {
	}

	@MyAnnotation() // 故意不指定getValue
	public void defaultMethod() {
	}
}
